From: William Jon McCann Date: Mon, 10 Nov 2014 15:09:09 +0000 (-0500) Subject: Set style classes for extension download dialog X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1980 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=551b96d79ff70edc254725618bfbdef9fc358b6e;p=gnome-shell.git Set style classes for extension download dialog So that the layout is correct. https://bugzilla.gnome.org/show_bug.cgi?id=739888 --- diff --git a/js/ui/extensionDownloader.js b/js/ui/extensionDownloader.js index 8a348219b..6102eb15c 100644 --- a/js/ui/extensionDownloader.js +++ b/js/ui/extensionDownloader.js @@ -203,14 +203,16 @@ const InstallExtensionDialog = new Lang.Class({ let message = _("Download and install “%s” from extensions.gnome.org?").format(info.name); - let box = new St.BoxLayout(); + let box = new St.BoxLayout({ style_class: 'prompt-dialog-main-layout', + vertical: false }); this.contentLayout.add(box); let gicon = new Gio.FileIcon({ file: Gio.File.new_for_uri(REPOSITORY_URL_BASE + info.icon) }) let icon = new St.Icon({ gicon: gicon }); box.add(icon); - let label = new St.Label({ text: message }); + let label = new St.Label({ style_class: 'prompt-dialog-headline', + text: message }); box.add(label); },